using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.ComponentModel;
using EcsSiteDSTableAdapters;
namespace SiteECSWeb
{
    [DataObject]
public class FairsTypeBLL
{
	private FairsTypesTableAdapter _FairsTypesTableAdapter = null;

    protected FairsTypesTableAdapter FairsTypesAdapter
    {
        get
        {
            if (_FairsTypesTableAdapter == null)
            {
                _FairsTypesTableAdapter = new FairsTypesTableAdapter();
            }
            return _FairsTypesTableAdapter;
        }
    }

    #region SelectFairsType
        //Select All Fairs Type
    [DataObjectMethodAttribute(DataObjectMethodType.Select, true)]
    public EcsSiteDS.FairsTypesDataTable GetALlFairsTypeData()
    {
        return FairsTypesAdapter.GetFairsTypesRowRankData();
    }

    #endregion
}

}